﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000527 RID: 1319
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FEOJMHIFPCH : IMessage<FEOJMHIFPCH>, IMessage, IEquatable<FEOJMHIFPCH>, IDeepCloneable<FEOJMHIFPCH>, IBufferMessage
	{
		// Token: 0x17001109 RID: 4361
		// (get) Token: 0x06003B91 RID: 15249 RVA: 0x000A3CF8 File Offset: 0x000A1EF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FEOJMHIFPCH> Parser
		{
			get
			{
				return FEOJMHIFPCH._parser;
			}
		}

		// Token: 0x1700110A RID: 4362
		// (get) Token: 0x06003B92 RID: 15250 RVA: 0x000A3CFF File Offset: 0x000A1EFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FEOJMHIFPCHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700110B RID: 4363
		// (get) Token: 0x06003B93 RID: 15251 RVA: 0x000A3D11 File Offset: 0x000A1F11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FEOJMHIFPCH.Descriptor;
			}
		}

		// Token: 0x06003B94 RID: 15252 RVA: 0x000A3D18 File Offset: 0x000A1F18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FEOJMHIFPCH()
		{
		}

		// Token: 0x06003B95 RID: 15253 RVA: 0x000A3D20 File Offset: 0x000A1F20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FEOJMHIFPCH(FEOJMHIFPCH other) : this()
		{
			this.shopId_ = other.shopId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003B96 RID: 15254 RVA: 0x000A3D45 File Offset: 0x000A1F45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FEOJMHIFPCH Clone()
		{
			return new FEOJMHIFPCH(this);
		}

		// Token: 0x1700110C RID: 4364
		// (get) Token: 0x06003B97 RID: 15255 RVA: 0x000A3D4D File Offset: 0x000A1F4D
		// (set) Token: 0x06003B98 RID: 15256 RVA: 0x000A3D55 File Offset: 0x000A1F55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ShopId
		{
			get
			{
				return this.shopId_;
			}
			set
			{
				this.shopId_ = value;
			}
		}

		// Token: 0x06003B99 RID: 15257 RVA: 0x000A3D5E File Offset: 0x000A1F5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FEOJMHIFPCH);
		}

		// Token: 0x06003B9A RID: 15258 RVA: 0x000A3D6C File Offset: 0x000A1F6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FEOJMHIFPCH other)
		{
			return other != null && (other == this || (this.ShopId == other.ShopId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003B9B RID: 15259 RVA: 0x000A3D9C File Offset: 0x000A1F9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ShopId != 0U)
			{
				num ^= this.ShopId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003B9C RID: 15260 RVA: 0x000A3DDB File Offset: 0x000A1FDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003B9D RID: 15261 RVA: 0x000A3DE3 File Offset: 0x000A1FE3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003B9E RID: 15262 RVA: 0x000A3DEC File Offset: 0x000A1FEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ShopId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.ShopId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003B9F RID: 15263 RVA: 0x000A3E20 File Offset: 0x000A2020
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ShopId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ShopId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003BA0 RID: 15264 RVA: 0x000A3E5E File Offset: 0x000A205E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FEOJMHIFPCH other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ShopId != 0U)
			{
				this.ShopId = other.ShopId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003BA1 RID: 15265 RVA: 0x000A3E8F File Offset: 0x000A208F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003BA2 RID: 15266 RVA: 0x000A3E98 File Offset: 0x000A2098
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ShopId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400179F RID: 6047
		private static readonly MessageParser<FEOJMHIFPCH> _parser = new MessageParser<FEOJMHIFPCH>(() => new FEOJMHIFPCH());

		// Token: 0x040017A0 RID: 6048
		private UnknownFieldSet _unknownFields;

		// Token: 0x040017A1 RID: 6049
		public const int ShopIdFieldNumber = 5;

		// Token: 0x040017A2 RID: 6050
		private uint shopId_;
	}
}
